import os
from llama_index.llms.deepseek import DeepSeek

llm = DeepSeek(model="deepseek-reasoner", api_key=os.environ["DEEPSEEK_API_KEY"])

llm.complete("写个笑话")